<div class="wrap">
<div class="box">
<div class="content">
<div id="up" class="index_up">
<h2 style="margin-top: -7px;"><a
	href="${base}/auction/auctionnow.htm">更多乐拍</a></h2>
<ul>
	<!-- 正在乐拍单独产品开始 -->
	<#assign ids="">
	<#list auctioning! as list>
	<#if list_index gt 0>
	<li>
	<div class="product_area">
	<!-- 返利提示 --> 	
	<div class="zhe">
	<img onmouseover="changexy(this,'若竞拍未成功，可以按补差购买价格进行购买此商品。')" onmouseout="$('#p_toolTip').hide();" src="${base}/res/front/images/bu.gif" alt="乐拍客秒杀网补差价购买" />
	</div>
		
	<h3 class="pitem_title">
	<a	href="${base}/auction/detail.htm?id=${list.id}" title="${list.goodsname}" target="_blank" > 
		${list.goodsname} 
	  <span class='red'>经典之作，设计独特！</span>
	</a>
	</h3>
	
	<div class="pitem_thumb">
	<a	href="${base}/auction/detail.htm?id=${list.id}" rel="nofollow" title="${list.goodsname}"> 
		<#if list.thumbnail??>
		<img src="${base}/accessory/${list.thumbnail}" height="120" width="120" alt=" ${list.goodsname}" />
		<#else>
		<img src="${base}/res/front/images/nopic.jpg" height="120" width="120" alt=" ${list.goodsname}" />
		</#if>
	</a>
	</div>
	
	<div class="pitem_mprice">
	  <em>市场价：</em><strong>￥${list.goodsprice}</strong>
	</div>
	
	<div class="pitem_price">
	<em>当前价：</em>
	<strong class="nowprice" style="font-size: 14px; color: red; font-family: Arial Black, Gadget, sans-serif;">
	￥
	<font id="nowprice_${list.id}">-.-</font></strong>
	</div>
	
	<div class="pitem_user">
	<em>出价人：</em>
	<span class="red2" id="currentuser_${list.id}">--</span>
	</div>
	<div class="pitem_time">
	<strong class="lasttime" id="lasttime_${list.id}">--:--:--</strong>
	<strong class="red5" id="ms_${list.id}"></strong>
	</div>
	
	<div class="pitem_button">
	<#if loginMember??>
      <!--1.可以竞拍开始-->
      <input type="image"	 id="btn_setInfo_up_${list.id}" onclick="setInfo('${list.id}','${loginMember.memberId}','btn_setInfo_up_${list.id}');" style="cursor: pointer;" src="${base}/res/front/images/bid_button.gif" alt="点击秒杀" /> 
	  <!--可以结束-->
	<#else>
	  <!--2.未登录开始-->
	  <img onclick="Login_Dialog();" style="cursor: pointer;" src="${base}/res/front/images/bid_button.gif" alt="点击登录参与竞拍秒杀"/>
      <!--未登录结束-->
	</#if>
	<div id="bidtips_${list.id}" style="display: none;"></div>
	</div>
	
	<div class="huafen" onmouseover="changexy(this,'每次竞拍消耗${list.usebeat}拍点，价格上涨${list.addprice}元')"
		onmouseout="$('#p_toolTip').hide();"><strong class="diffmoney">1</strong><br />
	点/拍
	</div>
	</div>
	</li>
	</#if>
	<#if list_index<auctioning?size-1>
	<#assign ids=ids+list.id+",">
	<#else>
	<#assign ids=ids+list.id>
	</#if>
	</#list>
	<!-- 正在乐拍单独产品结束 -->
	</ul>
<script type="text/javascript">
//<![CDATA[
window.onload=function(){
	var bidManager  = new BidManager();
	bidManager.start();	
	bidManager.show_alert();
}
//]]>
</script>
<div class="clear"></div>
</div>
<div id="complete" class="normal_product" style="margin-top: -8px;">
<h2><a title="乐拍客最近成交拍品"
	href="${base}/auction/history.htm">更多成交</a></h2>
<!--最新成交-->
<ul>
	<#if auctioned??>
	<#list auctioned! as aued>
	<li>
	<div class="product_area"><!-- 返利提示 --> 	<div class="zhe">
	<img onmouseover="changexy(this,'若竞拍未成功，可以按补差购买价格进行购买此商品。')"
		onmouseout="$('#p_toolTip').hide();" src="${base}/res/front/images/bu.gif"	alt="乐拍客竞拍补差价购买" /></div>
		
	<h3 class="pitem_title"><a
			href=<#if (aued.html!"")?length gt 0>"${base}${aued.html}"<#else>"${base}/auction/detail.htm?id=${aued.id}"</#if>
		title="第${aued.sn}期  ${aued.goodsname}"
		target="_blank"> ${aued.goodsname} <span class='red'>简约时尚！</span></a>
	</h3>
	<div class="pitem_thumb">
		<a	href=<#if (aued.html!"")?length gt 0>"${base}${aued.html}"<#else>"${base}/auction/detail.htm?id=${aued.id}"</#if> 	title="第${aued.sn}期  ${aued.goodsname}" 	target="_blank" rel="nofollow">
		<#if aued.thumbnail??>
		<img src="${base}/accessory/${aued.thumbnail}" height="120" width="120" alt="${aued.goodsname}" />
		<#else>
		<img src="${base}/res/front/images/nopic.jpg" height="120" width="120"  alt="${aued.goodsname}" />
		</#if>
		</a></div>
	<div class="pitem_done" >
	</div>
	<div class="pitem_mprice" style="height: 30px; line-height: 30px;"><em>成交价：</em>
	<strong class="nowprice"
		style="font-size: 14px; color: red; font-family: Arial Black, Gadget, sans-serif;">￥${aued.realprice}</strong>
	</div>

	<div class="pitem_user" style="height: 32px;"><em
		style="height: 32px; line-height: 32px;">成交时间：</em> <span
		style="width: 80px; height: 16px; line-height: 16px;">${aued.endtime}</span>
	</div>
	<div class="pitem_user"><em>获胜者：</em> <span class="red2">${aued.auctionuname}</span>
	</div>
	</div>
	</li>
	</#list>
    </#if>
	</ul>
<!--/最新成交-->
<div class="clear"></div>
</div>
<input type="hidden" id="ids" value="${ids}" />
</div>
</div>
</div>